package com.diy.sigmund;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author ylm-sigmund
 * @since 2022/6/19 23:10
 */
@RestController
public class DiyDockerDemoController {

    @RequestMapping("/")
    public String defaultMapping() {
        return "hello,it's diy-sigmund docker demo";
    }

    @RequestMapping("/hello")
    public String hello() {
        return "hello, world";
    }

}
